﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
	/// <summary>
	///企业信息
	/// </summary>
	public class ent_baseinfo
	{
		/// <summary>
		///序号
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///企业编号
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///统一社会信用代码
		/// </summary>
		public string CompanyCode { get; set; }

		/// <summary>
		///企业名称
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///企业简称
		/// </summary>
		public string CompanyShortName { get; set; }

		/// <summary>
		///企业坐标x 
		/// </summary>
		public float? CoordinateX { get; set; }

		/// <summary>
		///企业坐标y
		/// </summary>
		public float? CoordinateY { get; set; }

		/// <summary>
		///企业地址-区域
		/// </summary>
		public string CompanyAdress_R { get; set; }

		/// <summary>
		///企业地址-省份
		/// </summary>
		public string CompanyAdress_P { get; set; }

		/// <summary>
		///企业地址-城市
		/// </summary>
		public string CompanyAdress_C { get; set; }

		/// <summary>
		///企业地址-详细地址
		/// </summary>
		public string CompanyAdress_Detail { get; set; }

		/// <summary>
		///企业地址
		/// </summary>
		public string CompanyAdress { get; set; }

		/// <summary>
		///主营业务涉及行业--煤炭/危化/建筑/机械/其他，可多选用”/”分隔
		/// </summary>
		public string Trade { get; set; }

		/// <summary>
		///注册号
		/// </summary>
		public string RegistrationNum { get; set; }

		/// <summary>
		///注册资本
		/// </summary>
		public string RegistrationCaptial { get; set; }

		/// <summary>
		///法定代表人
		/// </summary>
		public string LegalRepresente { get; set; }

		/// <summary>
		///企业类型
		/// </summary>
		public string CompanyType { get; set; }

		/// <summary>
		///成立日期
		/// </summary>
		public DateTime? EstablishDate { get; set; }

		/// <summary>
		///核准日期
		/// </summary>
		public DateTime? ApprovalDate { get; set; }

		/// <summary>
		///营业期限-开始时间
		/// </summary>
		public DateTime? BusinessTermBeg { get; set; }

		/// <summary>
		///营业期限-终止时间
		/// </summary>
		public DateTime? BusinessTermEnd { get; set; }

		/// <summary>
		///登记机关
		/// </summary>
		public string RegisterOffice { get; set; }

		/// <summary>
		///企业简介
		/// </summary>
		public string CompanyProfile { get; set; }

		/// <summary>
		///企业风貌(附件)
		/// </summary>
		public string CompanyStyleFile { get; set; }

		/// <summary>
		///企业资质
		/// </summary>
		public string CompandQuali { get; set; }

		/// <summary>
		///主要负责人
		/// </summary>
		public string Incharge { get; set; }

		/// <summary>
		///主要负责人联系电话
		/// </summary>
		public string InchargeTel { get; set; }

		/// <summary>
		///企业安全负责人姓名
		/// </summary>
		public string CompanSafeName { get; set; }

		/// <summary>
		///企业安全负责人联系电话
		/// </summary>
		public string CompanSafeNameTel { get; set; }

		/// <summary>
		///组织架构
		/// </summary>
		public string OrganizatStructure { get; set; }

		/// <summary>
		///人员配置
		/// </summary>
		public string PersonneAllocation { get; set; }

		/// <summary>
		///企业分类(A级，B级)
		/// </summary>
		public string CompanyRiskLevel { get; set; }

		/// <summary>
		///企业风险等级
		/// </summary>
		public string RiskLevel { get; set; }

		/// <summary>
		///企业安全评价报告（附件）
		/// </summary>
		public string CompanySafetyEvaluationReportFile { get; set; }

		/// <summary>
		///状态：启用/停用
		/// </summary>
		public string OnState { get; set; }

		/// <summary>
		///审核状态（备用）（已审核，未审核）
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///审核时间
		/// </summary>
		public DateTime? PassDate { get; set; }

		/// <summary>
		///未审核通过原因
		/// </summary>
		public string NoPassContents { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

		/// <summary>
		///父节点CompanyNo
		/// </summary>
		public string ParentNo { get; set; }

	}
}